package com.lkf.simplewebcontainer.servlet;

import com.lkf.simplewebcontainer.http.Request;
import com.lkf.simplewebcontainer.http.Response;

/**
 * Servlet定义
 * 规范doGet方法和doPost方法
 */
public abstract class Servlet{
    public abstract void doGet(Request request, Response response) throws Exception;
    public abstract void doPost(Request request, Response response) throws Exception;
}
